home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / data_conversion.doc < prev    next >
Text File  |  2000-05-17  |  2KB  |  70 lines

  1. Data Conversion
  2. ----------------
  3.  
  4. The data passing through the pipe may be modified by the pipe with the following options.
  5.  
  6. H option
  7. ========
  8.  
  9. html conversion - some special characters are translated into html tokens.
  10. & > <  become & < >
  11. This option must be specified on the file handle that is written.
  12.  
  13. copy ram:test AWNPipe:test/h
  14. copy AWNPipe:test ram:test2
  15.  
  16.  
  17. G option
  18. ========
  19.  
  20. The same as the H option above, except that any special html character preceded by an '@' is not converted. The preceding '@' is removed during the translation process.
  21.  
  22. U option
  23. ========
  24.  
  25. UNhtml conversion - some html tokens are translated into special character.
  26. & < > become & > <
  27. Tokens of the form &#NUM; are also translated.
  28. This option must be specified on the file handle that is written to..
  29.  
  30. copy ram:test AWNPipe:test/u
  31. copy AWNPipe:test ram:test2
  32.  
  33. P option
  34. ========
  35.  
  36. AWebPost conversion - some special characters are translated into standard ascii. This must be specified on the file handle that does the writing.
  37.  
  38. copy ram:test AWNPipe:test/p
  39. copy AWNPipe:test ram:test2
  40.  
  41. B option
  42. ========
  43.  
  44. backwards blocks - characters read from a pipe are returned in reverse order
  45. of the character blocks written. This must be specified on the
  46. file handle that does the reading.
  47.  
  48. if you write 5 blocks of characters .....
  49.  
  50. 'hello'
  51. 'world'
  52. '1'
  53. '2'
  54. '3'
  55.  
  56. they are read back as
  57.  
  58. 321worldhello
  59.  
  60. Funny things can happen if you read before all writes are completed.
  61.  
  62. O option
  63. ========
  64.  
  65.  Adds the text '<option>' after every '0a'x . I use it in AWebNews.
  66.  
  67. copy ram:test AWNPipe:test/o
  68. copy AWNPipe:test ram:test2
  69.  
  70.